<div class="col-md-4 col-centered">
	<table class="table table-striped" cellpadding="15">
		<tr>
			<td style="width: 200px;" class="text-right tdBold alignMiddle" translate="REQUESTS.NUM_ACTIVE_REQUESTS"></td>
			<td class="text-center">{{ vm.myRequests.length }}</td>
		</tr>
		<tr>
			<td class="text-right tdBold alignMiddle" translate="REQUESTS.ACTIVE_REQUESTS_LIMIT"></td>
			<td class="text-center">{{ vm.currentUser.reqslots }}</td>
		</tr>
	</table>
</div>

<h2 translate="REQUESTS.MY_ACTIVE"></h2>

<loading-indicator hide="vm.myRequests"></loading-indicator>
<div ng-show="vm.myRequests.length == 0" class="alert alert-warning" role="alert" translate="REQUESTS.NO_ACTIVE"></div>

<div ng-show="vm.myRequests.length > 0" class="table-responsive col-sm-10 col-sm-push-1">
	<requests-table requests="vm.myRequests" delete="vm.delete(request)" give-reward="vm.giveReward(request)" col-reward="true" col-edit="true"></requests-table>
</div>
<div class="clearfix"></div>
<br />

<h2 translate="REQUESTS.MY_VOTED"></h2>

<loading-indicator hide="vm.myVotedRequests"></loading-indicator>
<div ng-show="vm.myVotedRequests.length == 0" class="alert alert-warning" role="alert" translate="REQUESTS.NO_VOTED"></div>

<div ng-show="vm.myVotedRequests.length > 0" class="table-responsive col-sm-10 col-sm-push-1">
	<requests-table requests="vm.myVotedRequests" give-reward="vm.giveReward(request)" col-reward="true"></requests-table>
</div>
<div class="clearfix"></div>
<br />
